package org.sanguine.tests.protei.springapp.mvc.models;

/**
 * Created by alex on 25.02.14.
 * Author: Alex Kuznetsov
 */
public class ErrorInfo {
    private String url;
    private String ex;

    public ErrorInfo(String url, Exception ex) {
        this.url = url;
        this.ex = ex.getMessage();
    }

    public ErrorInfo() {
    }

    public String getUrl() {
        return url;
    }

    public String getEx() {
        return ex;
    }
}
